package com.scs.application.modules.adm.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
* @Description：推送询价结果对象
*/
@Data
public class MatrInquiryPush {
    private String busKey;
    private Date busDate;
    private Date bidStartDate;
    private Date bidEndDate;
    private String refId;
    private String deptId;
    private String deptName;
    List<MatrInquiryItemPush> inquiryItems;
    List<MatrInquirySpItemPush> supplierItems;
    @Data
    public static class MatrInquiryItemPush {
        private String manufacturerName;
        private String skuUnit;
        private Double skuPrice;
        private Double qtyYear;
        private String deptRemark;
        private Double skuPriceMax;
        private Double skuPriceMin;
        private String deliveryAddress;
        private String inquiryRemark;
        private String materialName;
        private String materialSpec;
        private String catalogId;
        private String catalogName;
        private String certificateNo;
        private String sunpurchaseCode;

        //adm_matr_audit_item.id
        private String refId;
        List<String> supplierNames;
    }

    @Data
    public static class MatrInquirySpItemPush {
        /** 供应商名称 */
        private String name;

        /** 识别码 */
        private String code;
        /** 联系方式 */
        private String mobile;

        /** 联系人 */
        private String contactor;

    }
}
